﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using TeamNectarine.WpfClient.Commands;
using TeamNectarine.WpfClient.Data;
using TeamNectarine.WpfClient.ViewModels;

namespace TeamNectarine.WpfClient.ViewModels
{
    public class OurXAML : ViewModelBase, IPageViewModel
    {
        private string name;

        public string Name
        {
            get
            {
                return this.name;
            }
            set
            {
                this.name = value;
            }
        }        

        public OurXAML(string name)
        {
            this.Name = name!="" ? name : "Name HERE";
        }
        
    }
}